<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Dialogs</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="RhythmCat Music Player Development Reference Manual">
<link rel="up" href="ch02.html" title="Player UI">
<link rel="prev" href="RCGuiScrolledText.html" title="Scrolledate Text Widget">
<link rel="next" href="RhythmCat-Equalizer-UI.html" title="Equalizer UI">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="RCGuiScrolledText.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch02.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">RhythmCat Music Player Development Reference Manual</th>
<td><a accesskey="n" href="RhythmCat-Equalizer-UI.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#RhythmCat-Dialogs.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#RhythmCat-Dialogs.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry" title="Dialogs">
<a name="RhythmCat-Dialogs"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="RhythmCat-Dialogs.top_of_page"></a>Dialogs</span></h2>
<p>Dialogs — Dialogs in the player.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="RhythmCat-Dialogs.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;gui.h&gt;

#define             <a class="link" href="RhythmCat-Dialogs.html#MAX-DIR-DEPTH:CAPS" title="MAX_DIR_DEPTH">MAX_DIR_DEPTH</a>
<span class="returnvalue">void</span>                <a class="link" href="RhythmCat-Dialogs.html#rc-gui-about-player" title="rc_gui_about_player ()">rc_gui_about_player</a>                 ();
<span class="returnvalue">void</span>                <a class="link" href="RhythmCat-Dialogs.html#rc-gui-show-message-dialog" title="rc_gui_show_message_dialog ()">rc_gui_show_message_dialog</a>          (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkMessageDialog.html#GtkMessageType"><span class="type">GtkMessageType</span></a> type</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *format</code></em>,
                                                         <em class="parameter"><code>...</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="RhythmCat-Dialogs.html#rc-gui-show-open-dialog" title="rc_gui_show_open_dialog ()">rc_gui_show_open_dialog</a>             ();
<span class="returnvalue">void</span>                <a class="link" href="RhythmCat-Dialogs.html#rc-gui-open-music-directory" title="rc_gui_open_music_directory ()">rc_gui_open_music_directory</a>         ();
<span class="returnvalue">void</span>                <a class="link" href="RhythmCat-Dialogs.html#rc-gui-save-playlist-dialog" title="rc_gui_save_playlist_dialog ()">rc_gui_save_playlist_dialog</a>         ();
<span class="returnvalue">void</span>                <a class="link" href="RhythmCat-Dialogs.html#rc-gui-load-playlist-dialog" title="rc_gui_load_playlist_dialog ()">rc_gui_load_playlist_dialog</a>         ();
<span class="returnvalue">void</span>                <a class="link" href="RhythmCat-Dialogs.html#rc-gui-save-all-playlists-dialog" title="rc_gui_save_all_playlists_dialog ()">rc_gui_save_all_playlists_dialog</a>    ();
<span class="returnvalue">void</span>                <a class="link" href="RhythmCat-Dialogs.html#rc-gui-bind-lyric-file-dialog" title="rc_gui_bind_lyric_file_dialog ()">rc_gui_bind_lyric_file_dialog</a>       ();
<span class="returnvalue">void</span>                <a class="link" href="RhythmCat-Dialogs.html#rc-gui-bind-album-file-dialog" title="rc_gui_bind_album_file_dialog ()">rc_gui_bind_album_file_dialog</a>       ();
<span class="returnvalue">void</span>                <a class="link" href="RhythmCat-Dialogs.html#rc-gui-show-supported-format-dialog" title="rc_gui_show_supported_format_dialog ()">rc_gui_show_supported_format_dialog</a> ();
</pre>
</div>
<div class="refsect1" title="Description">
<a name="RhythmCat-Dialogs.description"></a><h2>Description</h2>
<p>
Show dialogs in the player.
</p>
</div>
<div class="refsect1" title="Details">
<a name="RhythmCat-Dialogs.details"></a><h2>Details</h2>
<div class="refsect2" title="MAX_DIR_DEPTH">
<a name="MAX-DIR-DEPTH:CAPS"></a><h3>MAX_DIR_DEPTH</h3>
<pre class="programlisting">#define MAX_DIR_DEPTH 5
</pre>
<p>
Maximum search depth while searching the music files in a directory.
</p>
</div>
<hr>
<div class="refsect2" title="rc_gui_about_player ()">
<a name="rc-gui-about-player"></a><h3>rc_gui_about_player ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                rc_gui_about_player                 ();</pre>
<p>
Show the about information of this player.
</p>
</div>
<hr>
<div class="refsect2" title="rc_gui_show_message_dialog ()">
<a name="rc-gui-show-message-dialog"></a><h3>rc_gui_show_message_dialog ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                rc_gui_show_message_dialog          (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk/GtkMessageDialog.html#GtkMessageType"><span class="type">GtkMessageType</span></a> type</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>,
                                                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *format</code></em>,
                                                         <em class="parameter"><code>...</code></em>);</pre>
<p>
Show message dialog in the player.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
<td>type of message
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
<td>title of the message
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
<td>printf()-style format string, or NULL, allow-none
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
<td>arguments for <em class="parameter"><code>format</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="rc_gui_show_open_dialog ()">
<a name="rc-gui-show-open-dialog"></a><h3>rc_gui_show_open_dialog ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                rc_gui_show_open_dialog             ();</pre>
<p>
Show a music import dialog for importing music files.
</p>
</div>
<hr>
<div class="refsect2" title="rc_gui_open_music_directory ()">
<a name="rc-gui-open-music-directory"></a><h3>rc_gui_open_music_directory ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                rc_gui_open_music_directory         ();</pre>
<p>
Show a music import dialog for importing all music files in a directory.
</p>
</div>
<hr>
<div class="refsect2" title="rc_gui_save_playlist_dialog ()">
<a name="rc-gui-save-playlist-dialog"></a><h3>rc_gui_save_playlist_dialog ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                rc_gui_save_playlist_dialog         ();</pre>
<p>
Show a playlist export dialog for exporting the selected playlist
to a playlist file (M3U Format).
</p>
</div>
<hr>
<div class="refsect2" title="rc_gui_load_playlist_dialog ()">
<a name="rc-gui-load-playlist-dialog"></a><h3>rc_gui_load_playlist_dialog ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                rc_gui_load_playlist_dialog         ();</pre>
<p>
Show a playlist import dialog for importing all music files in the
playlist file.
</p>
</div>
<hr>
<div class="refsect2" title="rc_gui_save_all_playlists_dialog ()">
<a name="rc-gui-save-all-playlists-dialog"></a><h3>rc_gui_save_all_playlists_dialog ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                rc_gui_save_all_playlists_dialog    ();</pre>
<p>
Show a playlist export dialog for exporting all playlists in the player
to playlist files, then putting these files into the given directory.
</p>
</div>
<hr>
<div class="refsect2" title="rc_gui_bind_lyric_file_dialog ()">
<a name="rc-gui-bind-lyric-file-dialog"></a><h3>rc_gui_bind_lyric_file_dialog ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                rc_gui_bind_lyric_file_dialog       ();</pre>
<p>
Show a dialog to set the lyric binding state of a music item.
</p>
</div>
<hr>
<div class="refsect2" title="rc_gui_bind_album_file_dialog ()">
<a name="rc-gui-bind-album-file-dialog"></a><h3>rc_gui_bind_album_file_dialog ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                rc_gui_bind_album_file_dialog       ();</pre>
<p>
Show a dialog to set the album image binding state of a music item.
</p>
</div>
<hr>
<div class="refsect2" title="rc_gui_show_supported_format_dialog ()">
<a name="rc-gui-show-supported-format-dialog"></a><h3>rc_gui_show_supported_format_dialog ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                rc_gui_show_supported_format_dialog ();</pre>
<p>
Show a dialog to show the supported music format by the player.
</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.15</div>
</body>
</html>